package IMIC.DOTHEVINH.OOP.EXERCISES.LEVEL02.EXP5;

public class Models {

	public double changePercent(StockEntity stockEntity) {
		double Percentage = ((stockEntity.getCurrentPrice() 
				- stockEntity.getPreviousClosingPrice())/stockEntity.getCurrentPrice())*100;
		return Percentage;
		
	}

}
